package com.liuym.admin.repository.mapper;

import com.liuym.admin.repository.model.entity.ExportLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ExportLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExportLog record);

    int insertSelective(ExportLog record);

    ExportLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExportLog record);

    int updateByPrimaryKey(ExportLog record);

    List<ExportLog> findList(Integer type);

    List<ExportLog> findListByUserName(@Param("userName") String userName, @Param("type") Integer type);

    void deleteByTime(Date date);

    Integer findExportIdByTime();
}